#ifndef _PEERCON_H_
#define _PEERCON_H_

ECMBOOL reg_peercon(ebc_mdid_t mdid_src, ebc_ndid_t ndid_dst, ebc_mdid_t mdid_dst, pch_addr_t *ppchaddr);
void unreg_peercon(ebc_mdid_t mdid_src, ebc_ndid_t ndid_dst, ebc_mdid_t mdid_dst);

ECMBOOL reg_rpeercon(ebc_ndid_t ndid_src, ebc_mdid_t mdid_src, ebc_mdid_t mdid_dst, pch_addr_t *ppchaddr);
void unreg_rpeercon(ebc_ndid_t ndid_src, ebc_mdid_t mdid_src, ebc_mdid_t mdid_dst);

ecm_ptr_t create_peerinfo(void);
void destroy_peerinfo(ecm_ptr_t peerinfo);

void ebcd_initialize_peercon(void);
void ebcd_finalize_peercon(void);

#endif
